package com.regent.central.bill.web.sale_order;

import com.regent.central.bill.common.SaleOrderType;
import com.regent.central.bill.dto.sale_order.ReceiptQueryStatus;
import com.regent.central.bill.dto.sale_order.SaleOrderQueryStatus;
import com.regent.central.infrastructure.web.PagedRequest;

import java.util.List;

/**
 * 销售单查询请求参数
 *
 * @author 杨昌沛 646742615@qq.com
 * @date 2018-06-22 14:30
 **/
public class SaleOrderQueryRequest extends PagedRequest {
    /**
     * 筛选开始时间
     */
    private String startTime;
    /**
     * 筛选结束时间
     */
    private String endTime;
    /**
     * 员工id，null or empty 表示全部
     */
    private List<String> userIds;
    /**
     * 单据类型
     */
    private List<SaleOrderType> types;
    /**
     * 销售单状态，null or empty 表示全部
     */
    private List<SaleOrderQueryStatus> saleOrderStatus;
    /**
     * 收款单状态, null or empty 表示全部
     */
    private List<ReceiptQueryStatus> receiptStatus;

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public List<String> getUserIds() {
        return userIds;
    }

    public void setUserIds(List<String> userIds) {
        this.userIds = userIds;
    }

    public List<SaleOrderType> getTypes() {
        return types;
    }

    public void setTypes(List<SaleOrderType> types) {
        this.types = types;
    }

    public List<SaleOrderQueryStatus> getSaleOrderStatus() {
        return saleOrderStatus;
    }

    public void setSaleOrderStatus(List<SaleOrderQueryStatus> saleOrderStatus) {
        this.saleOrderStatus = saleOrderStatus;
    }

    public List<ReceiptQueryStatus> getReceiptStatus() {
        return receiptStatus;
    }

    public void setReceiptStatus(List<ReceiptQueryStatus> receiptStatus) {
        this.receiptStatus = receiptStatus;
    }
}
